package sz.szsmk.citizencard.mvp.contract;

import sz.szsmk.citizencard.model.network.bean.response.IbaseBean;
import sz.szsmk.citizencard.model.network.bean.response.UserBean;
import sz.szsmk.citizencard.ui.base.IBaseContact;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/5/22 15:42
 * description:
 */
public interface AdressAddContact {

    interface IAdressAddPresenter<T extends IBaseContact.IBaseView>
            extends IBaseContact.IBasePresenter{
        void addAdress(String name, String phone, String desAddress, int isDefault, String city);

        void updataAdress(String name, String phone, String desAddress, int isDefault, int adressId, String city);
    }

    interface IAdressAddView extends IBaseContact.IBaseView{

        // 获得数据成功
        void addSuccess();

        void addFalie(UserBean loginResponse);

        void updataSuccess();

        void updataFaile(IbaseBean response);
    }


}
